package org.jsola.hr.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * 批量增减员参数
 *
 * @author lyh
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "批量新增【增减员计划表】的参数")
@Data
public class EmpSocPlanBatchAddDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "增员列表")
    List<EmpSocPlanAddDTO> empSocPlanAddDTOList;

    @ApiModelProperty(notes = "方案Id")
    @NotNull(message = "方案Id不能为空")
    private String schemeId;

    @ApiModelProperty(notes = "年")
    @NotNull(message = "增员年月不能为空")
    private String year;

    @ApiModelProperty(notes = "月")
    @NotNull(message = "增员年月不能为空")
    private String month;

    @ApiModelProperty(notes = "公司Id")
    @NotNull(message = "公司id不能为空")
    private String companyId;

}
